diff options
| author | Factiven <[email protected]> | 2023-08-12 22:54:26 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-12 22:54:26 +0700 |
| commit | 3e78826658c7d2a4e9b3c1d73e63dacc1d39c361 (patch) | |
| tree | d580d03670692c6c5d361ec8559e7a2352354f3a /pages/en/anime/watch/[...info].js | |
| parent | Update v3.9.1 - Merged Beta to Main (#44) (diff) | |
| download | moopa-3.9.3.tar.xz moopa-3.9.3.zip | |
Update v3.9.3 - Merged Beta to Main (#51)v3.9.3
* commit
* update db
* Update v3.9.1-beta-v3.1
* Update v3.9.1
* Fix watched progress not showing
* Secure headers
* Fix recently watched image
* Update v3.9.2
> Added custom lists for AniList
> Fixed episode listMode progress
* Update db route
* Fixed AniList
* Fix next button on dub anime
> video is playing sub anime instead dub
* small adjusment for premid
* fix eslint
* small updates
> added ability to remove episode from recently watched
* Update v3.9.3
Diffstat (limited to 'pages/en/anime/watch/[...info].js')
| -rw-r--r-- | pages/en/anime/watch/[...info].js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pages/en/anime/watch/[...info].js b/pages/en/anime/watch/[...info].js index e013c6b..c17d9c5 100644 --- a/pages/en/anime/watch/[...info].js +++ b/pages/en/anime/watch/[...info].js @@ -172,8 +172,6 @@ export default function Info({ }; }, [sessions?.user?.name, epiNumber, dub]); - // console.log(proxy); - return ( <> <Head> @@ -199,6 +197,7 @@ export default function Info({ setLoading={setLoading} loading={loading} timeWatched={userData?.timeWatched} + dub={dub} /> <SecondarySide info={info} @@ -230,8 +229,7 @@ export async function getServerSideProps(context) { const proxy = process.env.PROXY_URI; const disqus = process.env.DISQUS_SHORTNAME; - const aniId = query.info[0]; - const provider = query.info[1]; + const [aniId, provider] = query.info; const watchId = query.id; const epiNumber = query.num; const dub = query.dub; |